IK Paste Image Channel


IK Paste Image Channel Image Number, Destination Image, Channel
IK Paste Image Channel Image Number, Destination Image, Channel, Source Channel, X, Y

Description

This command will paste a channel from a source image on another image. The first version requires the two images to have the same width and height. The second version will let you specify a position on the image and does not require the two images to have the same dimensions. Only one channel should be specified in Source Channel. Any other values may lead to unexpected results, but will not lead to an error. This command does not work on render targets but the same effect can be achieved using the effect commands of Image Kit and a pixel shader.
Also important to note is that this command does not work with blend modes. It is only copied to Destination Image.

Parameters

Image NumberIntegerThe ID of the source image.
Destination ImageIntegerThe ID of the destination image.
ChannelDWORDThe channel(s) to be pasted.
Source ChannelDWORDThe source channel to be used.
XIntegerThe X coordinate on the image.
YIntegerThe Y coordinate on the image.


Index